/*
 * Copyright (C) 2013 TopCoder Inc., All Rights Reserved.
 */
package cn.itcast.hibernate.domain;

/**
 * @author TCSASSEMBLER
 * @version 1.0 ()
 * @since 1.0
 */
public class IdCard {
	private int id;
	private String name;
	private Person person;
	/**
	 * <p>
	 * Getter of id field.
	 * </p>
	 * @return the id
	 */
	public int getId() {
		return id;
	}
	/**
	 * <p>
	 * Setter of id field.
	 * </p>
	 * @param id the id to set
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * <p>
	 * Getter of name field.
	 * </p>
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * <p>
	 * Setter of name field.
	 * </p>
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * <p>
	 * Getter of person field.
	 * </p>
	 * @return the person
	 */
	public Person getPerson() {
		return person;
	}
	/**
	 * <p>
	 * Setter of person field.
	 * </p>
	 * @param person the person to set
	 */
	public void setPerson(Person person) {
		this.person = person;
	}
}
